package org.ichamigua.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ichihamigua.common.user.entity.UserUpdateAvatarLogEntity;
import org.ichihamigua.common.user.entity.UserUpdateUsernameLogEntity;

/**
 * @author zzy
 */
public interface UserUpdateUsernameLogService extends IService<UserUpdateUsernameLogEntity> {
    boolean addLog(Long userId, String username);

    long countYearUsernameUpdate(Long userId);
}
